﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace SupportWebsite.Models
{
    public class SmartTechParticipantModel
    {
        [Required(ErrorMessage="Please Enter Your Name")]
        [DataType(DataType.Text)]
        public string Name { get; set;}
        [Required(ErrorMessage = "Please Enter Your Mobile")]
        [DataType(DataType.PhoneNumber)]
        public string Mobile { get; set; }
        [Required(ErrorMessage = "Please Enter Your Email")]
        [DataType(DataType.EmailAddress)]
        public string Email { get; set; }
        [Required(ErrorMessage = "Please Select Your School")]
        public int School { get; set; }
        [Required(ErrorMessage = "Please Select Your Workshop")]
        public int Workshop { get; set; }
        [Required(ErrorMessage = "Please Select Your Interview")]
        public int Interview { get; set; }
        public string Errors { get; set; }

    }
}